﻿@model Web.Entities.FeedBack

@{
    ViewBag.Title = "Edit";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}

    <div class="mytopmodel" >
        编缉模块：&nbsp;&nbsp;
    </div>

    <form method="post" id="myform" name="myform" action="@Url.Action("Edit")">
        <div class="maindiv">
            <table cellspacing="1" id="editTable" cellpadding="3" style=" ">

                <tr>
                    <td class="text">留言人：</td>
                    <td class="control">@Model.Name </td>
                </tr>
                
                <tr>
                    <td class="text">电话：</td>
                    <td class="control">@Model.Phone </td>
                </tr>

                                <tr>
                    <td class="text">QQ：</td>
                    <td class="control">@Model.QQ </td>
                </tr>

                <tr>
                    <td class="text">Email：</td>
                    <td class="control">@Model.Email </td>
                </tr>

                 <tr>
                    <td class="text">地址：</td>
                    <td class="control">@Model.Address </td>
                </tr>

                                 <tr>
                    <td class="text">IP：</td>
                    <td class="control">@Model.FromIP </td>
                </tr>

                                <tr>
                    <td class="text">留言内容：</td>
                    <td class="control">
                    @Model.Content
                    </td>
                </tr>

                <tr>
                    <td class="text">回复：</td>
                    <td class="control">
                    <textarea name="ReContent" cols="100" rows="10" >@Model.ReContent</textarea>
                    </td>
                </tr>

                <tr>
                    <td class="text" >是否显示：</td>
                    <td class="control">
                        <select name="Visible">
                        <option @(Model.Visible.Value?"selected":"") value="True" >显示</option>
                        <option @(!Model.Visible.Value?"selected":"") value="False" >隐藏</option>
                        </select> 
                    </td>
                </tr>
                

               <tr>
                    <td class="text" ></td>
                    <td colspan="2" class="control">
                       <input name="ID" type="hidden" value="@Model.ID" />
                       <div class="impBtn hMargin fLeft shadow" ><input type="submit" value="提交" onclick="" class="save imgButton" /></div>
                       <div class="impBtn hMargin fLeft shadow" ><input type="reset" value="清空" onclick="" class="reset imgButton" /></div>       
                       <a href="javascript:history.back(-1)" >[&nbsp;返回&nbsp;] </a>
                     </td>
                </tr>
            </table>
            
         
        </div>
   </form>
